<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of MY_Email
 *
 * @author xmxjq
 */
class MY_Email extends CI_Email {
    /**
     * Set Email Subject
     *
     * @access    public
     * @param     string
     * @return    void
     */
    function subject($subject)
    {
        $subject = '=?'. $this->charset .'?B?'. base64_encode($subject) .'?=';
        $this->_set_header('Subject', $subject);
    }
}

?>
